﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Core;

namespace Models
{
    /// <summary>
    /// 还款表 
    /// </summary>

    public class Repayment: AuditFiled<int>
    {
        /// <summary>
        /// 客户id
        /// </summary>
        public int? ClientId { get; set; }

        /// <summary>
        /// 类型Id
        /// </summary>
        public int? ClientTypeId { get; set; }

        /// <summary>
        /// 还款期次
        /// </summary>
        public string? Count { get; set; }

        /// <summary>
        /// 应还租金
        /// </summary>
        public decimal? Rent { get; set; }

        /// <summary>
        /// 当期剩余租金
        /// </summary>
        public decimal? Surplusrent { get; set; }

        /// <summary>
        /// 应付租金日
        /// </summary>
        public DateTime?  RentalDay { get; set; }

        /// <summary>
        /// 剩余延滞息
        /// </summary>
        public int? DelayedInterest { get; set; }
        /// <summary>
        /// 业务经办
        /// </summary>
        public int? BusinessManagementID { get; set; }
        /// <summary>
        /// 是否逾期
        /// </summary>
        public int? IsoverdueID { get; set; }
    }
}
